/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.TX;

import javax.ejb.Remote;
import java.util.List;
import java.util.Date;

/**
 *
 * @author T12
 */
@Remote
public interface GroupBuyingManagerSBRemote {

    public java.util.List<entity.tx.GroupBuyingItem> getStakeholderGBItem(java.lang.String stakeholderName);

    public void approveProposal(java.lang.Long id);

    public void denyProposal(java.lang.Long id);

    public void deleteProposal(java.lang.Long id);

    public java.lang.String addGroupBuyingItem(java.lang.Double originalPrice, java.lang.Double offeredPrice,
            java.util.Date effectiveEnd, java.util.Date effectiveStart, java.util.Date redemptionEnd, 
            java.util.Date redemptionStart, java.lang.Integer minQuota, java.lang.Integer maxQuota, 
            java.lang.Integer personalQuota, java.lang.Boolean requireBooking, java.lang.String description,
            java.lang.String validateRequirements, java.lang.String name, java.lang.String stakeholderName);

    public java.util.List<entity.tx.GroupBuyingItem> getGBItem();

}
